<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>立即消费</title>
<!--公共样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/reset.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/common.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome.min.css">
<!--公共样式结束-->
<!--页面样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/module_form.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/page_nowxf.css">
<!--页面样式结束--
<!--公共JS开始-->
<script src="{$NOW_THEME_URL}/Assets/Js/jquery.min.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Js/jquery.timer.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Js/common.js"></script>
<!--公共JS结束-->
<!--数据列表插件开始-->
<link href="{$NOW_THEME_URL}/Assets/Plugins/ContextMenu/src/jquery.contextMenu.css" rel="stylesheet" type="text/css" />
<script src="{$NOW_THEME_URL}/Assets/Plugins/ContextMenu/src/jquery.ui.position.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Plugins/ContextMenu/src/jquery.contextMenu.js"></script>
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/Etgrid/Css/etgrid.css">
<script src="{$NOW_THEME_URL}/Assets/Plugins/Etgrid/Js/etgrid.js"></script>
<!--数据列表插件结束-->
<!--ZTree开始-->
<link rel="stylesheet" href="{$NOW_THEME_URL}/Assets/Plugins/ZTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
<script src="{$NOW_THEME_URL}/Assets/Js/ztree.js"></script>
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Plugins/ZTree/js/jquery.ztree.core-3.5.js"></script>
<!--ztree结束-->
<!--滑动门插件开始-->
<script src="{$NOW_THEME_URL}/Assets/Plugins/EtTab/Js/ettab.js"></script>
<!--滑动门插件结束-->
<style type="text/css">
	body {
		overflow:hidden;
	}
</style>
</head>

<body>
	<div class="yhlist clearfix">
		<div class="table_box1">
			<form action="" method="post" id="memberAdd_form">
					<table cellpadding="0" cellspacing="0" class="module_form" width="100%">
						<tr>
							<th class="center">计次项目</th>
							<td class="left">洗发</td>
						</tr>
						<tr>
							<th class="center">剩余次数</th>
							<td class="left">8</td>
						</tr>
						<tr>
							<th class="center">操作</th>
							<td class="left">
								<div class="number">
									扣除次数：
									<ul class="count">
										<li date-id="1" class="productnum minus">-</li>
										<li name="num" id="num" class="num">1</li>
										<li date-id="2" class="productnum plus">+</li>
									</ul>
								</div>
							</td>
						</tr>
						<tr>
							<th class="center"><label for="beizhu">备注</label></th>
							<td class="left"><input id="beizhu" class="form_ele_text width_200" type="text" name=""></td>
						</tr>
					</table>
		</div>
		<div class="xiaofei">
			<a href="" class="form_ele_submit">确定</a>
		</div>
	</div>
</body>
<script type="text/javascript">
	//表格隔行换色
	$('.module_form tr:odd').addClass('odd');
	$('.module_form tr:even').addClass('even');
	
	//修改数量
	$('.productnum').live('click',function(){
		var id  = $(this).attr("date-id");
		var num = parseInt($("#num").html());
		if(id==1){
			num = num>1?num-1:num
		}else{
			num = num+1
		}
		$("#num").html(num);
	});
</script>
</html>
